<?php /* Smarty version 2.6.18, created on 2009-05-07 13:24:32
         compiled from ua-admin/templet_edit.html */ ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<link rel="stylesheet" type="text/css" href="css/main.css">
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/general.js"></script>
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/admin.js"></script>
</head>

<body leftmargin="10" topmargin="10">
<table width="100%" border="0" cellpadding="2" cellspacing="6"><tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide"><tr>
  <td><div align="left"><a href="#" onClick="parent.main.location='home.php';return false;">控制台</a>&nbsp;&raquo;企业网站模板</div></td>
</tr></table>
      <form name="tmpletfrm" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>
" enctype="multipart/form-data">
        <input type="hidden" name="id" value="<?php echo $this->_tpl_vars['t']['TempletId']; ?>
">
        <table width="100%"  border="0" cellpadding="0" cellspacing="1" class="tableborder">
          <tr>
            <td height="30" colspan="2" align="center" class="altbg1" valign="top">
			<table width="100%"  border="0" cellpadding="2" cellspacing="1">
                <tr>
                  <td align="center" class="altbg1"> 模板名称 </td>
                  <td class="altbg2"><input name="templet[title]" type="text" id="templet_title" value="<?php echo $this->_tpl_vars['t']['TempletTitle']; ?>
"></td>
                </tr>
                <tr>
                  <td align="center" class="altbg1">简单描述</td>
                  <td class="altbg2"><textarea name="textarea" id="textarea"><?php echo $this->_tpl_vars['t']['TempletDescription']; ?>

            </textarea></td>
                </tr>
                <tr>
                  <td align="center" class="altbg1">预览图片文件名（包括后缀）</td>
                  <td class="altbg2"><input name="templet[picture]" type="text" id="templet[picture]" value="<?php echo $this->_tpl_vars['t']['TempletPicture']; ?>
">
                  <br />
                    （请放到media/templets目录下）</td>
                </tr>
                <tr>
                  <td colspan="2" align="center"><input name="save" type="submit" id="save" value="保存" class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'"></td>
                </tr>
            </table></td>
            <td align="center"><?php if ($this->_tpl_vars['t']['TempletPicture']): ?>
                <img id="uploadpic" src="<?php echo $this->_tpl_vars['SiteUrl']; ?>
media/templets/<?php echo $this->_tpl_vars['t']['TempletPicture']; ?>
" border="0">
              <?php endif; ?></td>
          </tr>
        </table>
      </form></td></tr></table>
<br /><br />
</body>
</html>
